package com.lb.design.pattern.decorator.v1;

/**
 * @author lb
 * @Title: BattercakeWithEggAndSausage
 * @Description: TODO
 * @date 2019/03/19  16:56
 */
public class BattercakeWithEggAndSausage extends BattercakeWithEgg {
    @Override
    protected String getBattercake() {
        return super.getBattercake()+ "一根香肠";
    }

    @Override
    protected int getPrice() {
        return super.getPrice()+ 2;
    }
}
